package cn.rwklyd.BookKeeping.pojo.dto;

import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class QueryCategories {
    @Schema(description = "分类ID")
    private Integer id;
    @Schema(description = "分类名")
    private String name;
    @Schema(description = "是否属于支出：1-是，0-否")
    private Integer spend;
    @Schema(description = "用户ID")
    private Integer userId;
    @Schema(description = "页码")
    private Integer page;   // 给默认值
    @Schema(description = "每页大小")
    private Integer pageSize;
}
